Skip to content

updated len() to use .size instead#554

Open
pal1001p wants to merge 1 commit into
CPJKU:mainfrom
pal1001p:main
Open

updated len() to use .size instead#554
pal1001p wants to merge 1 commit into
CPJKU:mainfrom
pal1001p:main

Conversation

@pal1001p

@pal1001p pal1001p commented Jul 1, 2025

Copy link
Copy Markdown

Changes proposed in this pull request

  • len(activations) returns "TypeError: len() of unsized object" when activations is called with a num_frames of 1, which is needed for online mode to work properly for a lot of the processors. Using .size instead fixes this.

This pull request fixes the TypeError.

len(activations) returns TypeError when activations is set with a num_frames of 1, which is needed for online mode for a lot of the processors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant